/**
 * Created by huatan-sj on 14-11-20.
 */

if ($("#appointmentTime").length) {
	$("#appointmentTime").click(function () {
		WdatePicker({dateFmt: 'yyyy-MM-dd'});
	});
}

var currentTime = new Date();
dateString = currentTime.getFullYear() + "-" + (currentTime.getMonth() + 1) + "-" + currentTime.getDate() + " " + currentTime.getHours() + ":" + currentTime.getMinutes();
if ($("#appointmentTime").length) {
	$("#appointmentTime").click(function () {
		WdatePicker({dateFmt: 'yyyy-MM-dd HH:mm'});
	});
}


